x0 = 2;
[x,y] = fminsearch(@ fun4,x0)